<include file="Public:header" />



    <div id="content">
    	<div class="main_top">
        	<img class="set_icon1" src="../Public/images/sweet_icon.png" />
            <p class="hello-2 textShadow">Hello {$userName}</p>
            <span class="please-2"></span>
            <div class="bd_bottom"></div>      
        </div><!-- end:main_top -->
        
        <div class="main_bottom">
        	<div class="main_bottom_bf">

				<div class="main-Sidebar">
                	<div class="top-Sidebar">  </div>
                    
                    <div class="middle-Sidebar">
                    <div id="pic_left">   
					<if condition="$coupon.image_name eq ''">
							<img src="__ROOT__/Public/Uploads/no-image.gif" width="200px" height="200x" /></a>
					<else/>
							<img src="__ROOT__{$coupon.image_path}{$coupon.image_name}" width="200px" height="200x" /></a>
					</if>
                    </div>	
                    <div id="pic_right">
                    Coupon Name：{$coupon.c_name}<br />
						Points：{$coupon.points}<br />
                        Detail:
						<div style="width:250px;">
						
                        </div> 
					</div>
                        
                        
                        <div style="clear:both; text-align:center;padding:30px 0px;">
						<a href="###" onclick="showExchange();" >Exchange</a><br />
                        
                        
                         <ul class="pic_ul" id="exchange_info" style="display:none;">
                        <form action="__URL__/action" method="post">
 
							<li><span>Name：</span>
								<input type="text" name="name" />
							</li>
						
							<li style="height:50px;"><span style="float:left;">Address：</span>
								<textarea name="address"  style="font-size:12px; width:200px;height:40px;padding:2px;_margin-left:-3px;"></textarea>
							</li>
							<input type="hidden" name="c_id" value="{$coupon.c_id}" />
							<li><span> </span><input type="submit" value="Submit" /></li>
						</form>

                        </ul>
                        
                        
                        </div>
						
						<script type="text/javascript">
							function showExchange(){
								var zone = document.getElementById('exchange_info');
								if(zone.style.display == "none") {
									zone.style.display = "block";
								} else {
									zone.style.display = "none";
								}
							}
						</script>
                    </div>
                           
                           
                    <div class="foot-Sidebar" >
                    	<span>See good returns!&nbsp;</span>
                    </div>     
            
            </div></div> 
		   
        </div><!-- end:main_bottom -->
      
          
        <div class="main_bottom_3">
        
        </div><!-- end:main_bottom_2 -->
    </div><!-- end:content-->

<include file="Public:footer" />